import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { globalRegister } from './global'
import { setupStore } from './store'

// main.ts
import 'tailwindcss/tailwind.css'
// createApp(App).mount('#app')

const app = createApp(App)
//路由
app.use(router)
// vuex
app.use(store)
setupStore()
// 局部住册 element-plus 插件
app.use(globalRegister)
app.mount('#app')
